home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / c / sozobon / sozlib15.zoo / sozdistr / include / xdlibs / bios.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-19  |  757 b   |  48 lines

  1. /* @(#) bios.h, XdLibs, include files
  2.  * 
  3.  * some rarely used structures from BIOS
  4.  * 
  5.  */
  6.  
  7. #ifndef _BIOS_H
  8. #define _BIOS_H
  9.  
  10. typedef struct    Bpb {
  11.     unsigned short    recsiz;
  12.     unsigned short    clsiz;
  13.     unsigned short    clsizb;
  14.     unsigned short    rdlen;
  15.     unsigned short    fsiz;
  16.     unsigned short    fatrec;
  17.     unsigned short    datrec;
  18.     unsigned short    numcl;
  19.     unsigned short    bflags;
  20. } BPB;
  21.  
  22.     /* xbios    */
  23. typedef struct Iorec {
  24.     long ibuf;
  25.     short ibufsiz;
  26.     short ibufhd;
  27.     short ibuftl;
  28.     short ibuflow;
  29.     short ibufhi;
  30. } IOREC;
  31.  
  32.  
  33. typedef struct Kbdvecs {
  34.     void (*midivec)();
  35.     void (*vkbderr)();
  36.     void (*vmiderr)();
  37.     void (*statvec)();
  38.     void (*mousevec)();
  39.     void (*clockvec)();
  40.     void (*joyvec)();
  41.     void (*midisys)();
  42.     void (*ikbdsys)();
  43.     short drvstat;
  44. }    KBDVECS;
  45.  
  46.  
  47. #endif /* _BIOS_H */
  48.